try:
    num = int(input("请输入一个数字:"))
    print(num + 5)
except ValueError:
    print("输入错误，请重新输入")
